#include "head.h"
// 账号
char USER_DATA[10][128] =
    {
        "石昊",
        "磊哥",
        "狠人大帝",
        "萧炎",
        "牧尘",
        "林动",
        "白小纯",
        "叶凡",
        "伊莱克斯",
        "柳如烟"};

// 全局密码
char POS_DATA[10] = "88888888";

int main(int argc, char const *argv[])
{
    int function = log_g(USER_DATA, POS_DATA);
    printf("%d", function);
    if (function == 1)
    {
        guess();
    }
    else if (function == 2)
    {
        pyramid();
    }
    else if (function == 3)
    {
        getgrade(sortGrade());
    }

    return 0;
}
